﻿using Business.BookManagement.Dto;
using Business.ProductManager.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Business.ProductManager
{
    public interface IProductAppService : IApplicationService
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ProductDto> Get(Guid id);

        Task<PagedResultDto<ProductDto>> GetAll(GetProductInputDto input);
        Task<ProductDto> CreateOrUpdate(CreateOrUpdateProductDto input);
        Task Delete(List<Guid> ids);
    }
}
